#Alias /robots.txt  /var/lib/postorius/sites/default/static/robots.txt
#Alias /favicon.ico /var/lib/postorius/sites/default/static/favicon.ico
Alias /postorius/static      /var/lib/postorius/sites/default/static

#ErrorLog /var/log/httpd/postorius_error.log
#CustomLog /var/log/httpd/postorius_access.log combined

WSGIScriptAlias /postorius /etc/postorius/sites/default/srv/postorius.wsgi
WSGIDaemonProcess postorius threads=25 python-path=/etc/postorius/sites/default
# If using VirtualEnv
#WSGIDaemonProcess postorius threads=25 python-path=/etc/postorius/sites/default:/path/to/your/venv/lib/python2.X/site-packages

<Directory "/etc/postorius/sites/default/srv">
    <Files postorius.wsgi>
        Order deny,allow
        Allow from all
        Require all granted
    </Files>
    WSGIProcessGroup postorius
</Directory>

<Directory "/var/lib/postorius/sites/default/static">
    Order deny,allow
    Allow from all
    Require all granted
</Directory>
